package com.house365.core.thirdpart.auth;

import android.webkit.WebView;

/**
 *@author py
 *@date 2012-11-6
 *@comment
 */
public abstract class AuthHandler {
	protected AppKeyInfo appKeyInfo;
	protected ThirdPartAuthListener weiboAuthListener;
	public AuthHandler(AppKeyInfo appKeyInfo,ThirdPartAuthListener weiboAuthListener) {
		this.appKeyInfo = appKeyInfo;
		this.weiboAuthListener =weiboAuthListener;
	}
	public AppKeyInfo getAppKeyInfo() {
		return appKeyInfo;
	}
	public void setAppKeyInfo(AppKeyInfo appKeyInfo) {
		this.appKeyInfo = appKeyInfo;
	}
	public abstract boolean handleAuth(WebView view, String url) ;
}
